<!--#include("header.html")-->

<!--@foreach($package_list as $key => $val)-->
    <div class="issuetrackerRead">

        <div class="issuetrackerReadHeader">
            <div class="titleArea">
                <h3 class="title"><a href="{getUrl('package_srl',$val->package_srl)}">{$val->title}</a></h3>
                <span class="sum">
                    <span class="read"><span class="num">{$val->release_count}</span></span>
                    <span class="date">{zdate($val->regdate,'Y.m.d')} {zdate($val->regdate,'H:i:s')}</span>
                </span>
            </div>
        </div>

        <div class="issuetrackerReadDescription">{nl2br($val->description)}</div>

        <div class="issuetrackerReadButton">
            <!--@if($release_srl && $release)-->
                <button type="button" class="buttonOfficial" onclick="location.href='{getUrl('release_srl','','package_srl',$release->package_srl)}';return false"><span>{$lang->cmd_back}</span></button>
            <!--@else if($package_srl)-->
                <button type="button" class="buttonOfficial" onclick="location.href='{getUrl('package_srl','')}';return false"><span>{$lang->cmd_back}</span></button>
            <!--@else-->
                <button type="button" class="buttonOfficial" onclick="location.href='{getUrl('package_srl',$val->package_srl)}';return false"><span>{$lang->cmd_view_all}</span></button>
            <!--@end-->
        </div>

        <!--@if(count($val->releases))-->
            <!--@foreach($val->releases as $k => $v)-->
                <table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
                <tr>
                    <th colspan="2"><a href="{getUrl('package_srl',$v->package_srl,'release_srl',$v->release_srl)}">{$v->title}</a> <span class="num">({zdate($v->regdate,"y.m.d")})</span></th>
                </tr>
                <!--@if($release)-->
                <tr>
                    <th>{$lang->release_note}</th>
                    <td><div class="xe_content">{str_replace('  ','&nbsp;&nbsp;',nl2br($release->release_note))}&nbsp;</div></td>
                </tr>
                <tr>
                    <th>{$lang->release_changes}</th>
                    <td><div class="xe_content">{str_replace('  ','&nbsp;&nbsp;',nl2br($release->release_changes))}&nbsp;</div></td>
                </tr>
                <!--@end-->
                <tr>
                    <th>{$lang->uploaded_file}</th>
                    <td class="attachedFile">
                        <ul class="files">
                            <!--@foreach($v->files as $file)-->
                            <li><a href="{$file->download_url}" onmouseover="jQuery(this).find('.bubble').css('display','block');" onmouseout="jQuery(this).find('.bubble').css('display','none');">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]<!--@if($file->comment)--><br/>{htmlspecialchars($file->comment)}<!--@end--></span></a></li>
                            <!--@end-->
                        </ul>
                    </td>
                </tr>
                </table>
            <!--@end-->
        <!--@end-->

    </div>
<!--@end-->

<!--#include("footer.html")-->
